﻿@using Webdiyer.WebControls.Mvc;
@using MinistryStandardPlatformWeb;
@model PagedList<MinistryStandardPlatformEntity.LoginUsers>
<style>
    a
    {
        color: #428bca;
        text-decoration: none;
        cursor: pointer;
    }

    a:hover, a:focus
    {
        color: #2a6496;
        text-decoration: underline;
    }

    select
    {
        height: auto;
    }
</style>
<table class="tablelist">
        <thead>
            <tr>
                <th>序号</th>
                <th>用户名</th>
                <th>身份标识</th>
                <th>真实姓名</th>
                <th>状态</th>
                <th>父账号</th>
                <th>性别</th>
                <th>手机号</th>
                <th>固定电话</th>
                <th>联系地址</th>
                <th>所属单位</th>
                <th>插入时间</th>
                <th>备注</th>
            </tr>
        </thead>
        <tbody>
            @{
                int i = (Model.CurrentPageIndex - 1) * Model.PageSize;

                foreach (var item in Model)
                {
                    ++i;
                <tr id="@item.UserId">
                    <td>@i</td>
                    <td>@item.UserId</td>
                    <td>@item.Identity</td>
                    <td>@item.RealName</td>
                    <td>@item.userState</td>
                    <td>@item.InUserID</td>
                    <td>@item.SexType</td>
                    <td>@item.telPhone</td>
                    <td>@item.RocPhone</td>
                    <td>@item.address</td>
                    <td>@item.CustomerName</td>
                    <td>@item.InsertTime</td>
                    <td>@item.FMemo</td>
                </tr>
                }
            }
        </tbody>
    </table>
<div style="margin-top: 5px;">
    <div style="float: left; width: 50%; margin-left: 10px;">共 @Model.TotalPageCount 页 @Model.TotalItemCount 条记录，当前为第 @Model.CurrentPageIndex 页</div>
    @Html.MyPager(@Model, "pagerDiv", "float:right;margin-right:10px;")
</div>